package com.dep.service;

import com.dep.common.ResponseData;
import com.dep.dto.req.DepartmentInsertReq;
import com.dep.dto.req.DepartmentReq;
import com.dep.dto.resp.DepartmentAllResp;
import com.dep.dto.resp.DepartmentResp;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DepartmentService {

    ResponseData<List<DepartmentAllResp>> selectAllDep();

    ResponseData<PageInfo<DepartmentResp>> findDepartmentPage(DepartmentReq req);

    ResponseData insert(DepartmentInsertReq req);
}
